home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1998…tember: Reference Library / Dev.CD Sep 98 RL2.toast / What's New / Software Development Kits / MacOS USB DDK / Examples / PrinterClassDriver / ChooserPACK.cp < prev    next >
Encoding:
Text File  |  1998-07-20  |  693 b   |  25 lines  |  [TEXT/MPS ]

  1. /*
  2.     File:        ChooserPACK.cp
  3.  
  4.     Contains:    Implementation of the Chooser's PACK jump table.
  5.  
  6.     Copyright:    © 1991-1997 by Apple Computer, Inc., all rights reserved.
  7.  
  8. */
  9.  
  10. #include "Chooser.h"
  11.  
  12. /**************************************************************************************
  13.     Note:    Main must get linked at the very beginning of the first file because
  14.             the jump table must be the first entry in the PACK resource. This
  15.             means that no headers that contain linked routines (eg, inlines)
  16.             can be included before this routine.
  17.  **************************************************************************************/
  18. asm void main(void);
  19. asm void main(void)
  20. {
  21.         // Jump Table
  22.         jmp        Chooser
  23. };
  24.  
  25.